package com.pignest.hotel.dao;

import java.util.Date;
import java.util.List;

import com.pignest.hotel.beans.CustomHistory;
import com.pignest.hotel.beans.Living;
import com.pignest.hotel.beans.LivingCustom;


public interface CustomHistoryDao {

	public List<CustomHistory> queryCustomsNoPage(final String name,
			final String certificateno, final String certType, final String roomName,
			final String roomTypeId,final String phone,final String cardNo,final String oType,final Date sLiveDate,
			final Date eLiveDate);
	public List<CustomHistory> queryCustomsPage(final String name,final String certificateno,final String certType,
			                      final String roomName,final String roomTypeId,final String phone,final String cardNo,final String oType,
			                      final Date sLiveDate,final Date eLiveDate,final int start,final int length);
	public CustomHistory queryLastLivingCustom(final String name);
	
	public List<LivingCustom> queryCustoms(Living l);
}
